WaveAnimationSpecs

data class WaveAnimationSpecs(val waveHeightAnimationSpec: AnimationSpec<Dp>, val waveVelocityAnimationSpec: AnimationSpec<Dp>, val waveAppearanceAnimationSpec: AnimationSpec<Float>)(source)

Custom animation configurations for various properties of the wave.

Parameters

waveHeightAnimationSpec

used for changes in wave height.

waveVelocityAnimationSpec

used for changes in wave velocity (whether in speed or direction).

waveAppearanceAnimationSpec

Used for wave spread/expansion at the start of the composition.

Constructors

Link copied to clipboard
constructor(waveHeightAnimationSpec: AnimationSpec<Dp>, waveVelocityAnimationSpec: AnimationSpec<Dp>, waveAppearanceAnimationSpec: AnimationSpec<Float>)

Properties

Link copied to clipboard

Used for wave spread/expansion at the start of the composition.

Link copied to clipboard
val waveHeightAnimationSpec: AnimationSpec<Dp>

Used for changes in wave height.

Link copied to clipboard
val waveVelocityAnimationSpec: AnimationSpec<Dp>

Used for changes in wave velocity (whether in speed or direction).